public class BorrowBook {
    private User user;// 谁的借
    private String name;// 借的哪本书
    private int count;// 借了多少本
    private int day;//借了多少天


    public BorrowBook(User user, String name, int count, int day) {
        this.user = user;
        this.name = name;
        this.count = count;
        this.day = day;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public int getDay() {
        return day;
    }

    public void setDay(int day) {
        this.day = day;
    }
}
